package com.drinks.yiniang.entity.category;

import com.drinks.yiniang.entity.comment.BannerEntity;
import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 子分类
 * @author han
 * @date 2019/9/5
 */
public class SubCategoryJson extends BaseJson {

    private SubCategoryData data;

    public SubCategoryData getData() {
        return data;
    }

    public void setData(SubCategoryData data) {
        this.data = data;
    }

    public static class SubCategoryData {
        //当前分类
        private SubCategoryList category;
        //分类列表
        private List<SubCategoryList> category_list;
        //风格
        private List<SubCategoryList> styles;
        //分类下原产地
        private List<SubCategoryList> origins;
        //分类下品牌
        private List<SubCategoryList> brands;
        //酒精度
        private List<SubCategoryList> alcohols;
        //包装方式
        private List<SubCategoryList> package_methods;
        //属性列表
        private List<SubCategoryList> attributes;
        //净含量
        private List<String> capacity;
        //banner
        private List<BannerEntity> banners;

        public SubCategoryList getCategory() {
            return category;
        }

        public void setCategory(SubCategoryList category) {
            this.category = category;
        }

        public List<SubCategoryList> getCategory_list() {
            return category_list;
        }

        public void setCategory_list(List<SubCategoryList> category_list) {
            this.category_list = category_list;
        }

        public List<SubCategoryList> getStyles() {
            return styles;
        }

        public void setStyles(List<SubCategoryList> styles) {
            this.styles = styles;
        }

        public List<SubCategoryList> getOrigins() {
            return origins;
        }

        public void setOrigins(List<SubCategoryList> origins) {
            this.origins = origins;
        }

        public List<SubCategoryList> getBrands() {
            return brands;
        }

        public void setBrands(List<SubCategoryList> brands) {
            this.brands = brands;
        }

        public List<SubCategoryList> getAlcohols() {
            return alcohols;
        }

        public void setAlcohols(List<SubCategoryList> alcohols) {
            this.alcohols = alcohols;
        }

        public List<SubCategoryList> getPackage_methods() {
            return package_methods;
        }

        public void setPackage_methods(List<SubCategoryList> package_methods) {
            this.package_methods = package_methods;
        }

        public List<SubCategoryList> getAttributes() {
            return attributes;
        }

        public void setAttributes(List<SubCategoryList> attributes) {
            this.attributes = attributes;
        }

        public List<String> getCapacity() {
            return capacity;
        }

        public void setCapacity(List<String> capacity) {
            this.capacity = capacity;
        }

        public List<BannerEntity> getBanners() {
            return banners;
        }

        public void setBanners(List<BannerEntity> banners) {
            this.banners = banners;
        }
    }

    public static class SubCategoryList {
        private String id;
        //分类名称
        private String name;
        //前端添加，是否选中
        private boolean isChecked;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }
    }
}
